import React from "react";
import style from "./style.module.scss";
import MyTaskTitle from "../../assets/images/image/hdpi/my_task_title.png"

interface PropsType{
    title:string,
    styles?:React.CSSProperties
}

const Index: React.FC<PropsType> = ({title,styles}) => {
    // 签到标签
  return <div>  
      <div className={style.signStep} style={styles}>
        <img className={style.taskImg} src={MyTaskTitle} alt="" />
        <div className={style.taskTitle}>{title}</div>
      </div>
  </div>;
};

export default Index;
